package me.yangteng.zhihudaily.model;

import java.util.List;

/**
 * Created by MorenYang on 2017/12/20.
 */

public class Weather {

  /**
   * city : 广州
   * updatetime : 20:17
   * wendu : 10
   * fengli : 4级
   * shidu : 56%
   * fengxiang : 北风
   * sunrise_1 : 07:03
   * sunset_1 : 17:46
   * sunrise_2 :
   * sunset_2 :
   * environment : {"aqi":"56","pm25":"32","suggest":"极少数敏感人群应减少户外活动","quality":"良","MajorPollutants":"颗粒物(PM10)","o3":"36","co":"1","pm10":"60","so2":"16","no2":"82","time":"20:00:00"}
   * yesterday : {"date_1":"19日星期二","high_1":"高温 16℃","low_1":"低温 8℃","day_1":{"type_1":"晴","fx_1":"北风","fl_1":"4-5级"},"night_1":{"type_1":"晴","fx_1":"北风","fl_1":"4-5级"}}
   * forecast : {"weather":[{"date":"20日星期三","high":"高温 18℃","low":"低温 7℃","day":{"type":"晴","fengxiang":"北风","fengli":"3-4级"},"night":{"type":"晴","fengxiang":"无持续风向","fengli":"3-4级"}},{"date":"21日星期四","high":"高温 19℃","low":"低温 7℃","day":{"type":"晴","fengxiang":"无持续风向","fengli":"<3级"},"night":{"type":"晴","fengxiang":"无持续风向","fengli":"<3级"}},{"date":"22日星期五","high":"高温 20℃","low":"低温 10℃","day":{"type":"晴","fengxiang":"无持续风向","fengli":"<3级"},"night":{"type":"多云","fengxiang":"无持续风向","fengli":"<3级"}},{"date":"23日星期六","high":"高温 20℃","low":"低温 12℃","day":{"type":"多云","fengxiang":"无持续风向","fengli":"<3级"},"night":{"type":"多云","fengxiang":"无持续风向","fengli":"<3级"}},{"date":"24日星期天","high":"高温 21℃","low":"低温 11℃","day":{"type":"多云","fengxiang":"北风","fengli":"3-4级"},"night":{"type":"晴","fengxiang":"北风","fengli":"3-4级"}}]}
   * zhishus : {"zhishu":[{"name":"晨练指数","value":"较不宜","detail":"较不宜晨练，早晨天气凉，室外锻炼注意保暖防寒。年老体弱人群请减少晨练时间。"},{"name":"舒适度","value":"舒适","detail":"白天不太热也不太冷，风力不大，相信您在这样的天气条件下，应会感到比较清爽和舒适。"},{"name":"穿衣指数","value":"较舒适","detail":"建议着薄外套、开衫牛仔衫裤等服装。年老体弱者应适当添加衣物，宜着夹克衫、薄毛衣等。"},{"name":"感冒指数","value":"较易发","detail":"天凉，昼夜温差较大，较易发生感冒，请适当增减衣服，体质较弱的朋友请注意适当防护。"},{"name":"晾晒指数","value":"适宜","detail":"天气不错，适宜晾晒。赶紧把久未见阳光的衣物搬出来吸收一下太阳的味道吧！"},{"name":"旅游指数","value":"适宜","detail":"天气较好，温度适宜，是个好天气哦。这样的天气适宜旅游，您可以尽情地享受大自然的风光。"},{"name":"紫外线强度","value":"中等","detail":"属中等强度紫外线辐射天气，外出时建议涂擦SPF高于15、PA+的防晒护肤品，戴帽子、太阳镜。"},{"name":"洗车指数","value":"较适宜","detail":"较适宜洗车，未来一天无雨，风力较小，擦洗一新的汽车至少能保持一天。"},{"name":"运动指数","value":"较适宜","detail":"天气较好，户外运动请注意防晒。推荐您进行室内运动。"},{"name":"约会指数","value":"较适宜","detail":"虽然有点风，但情侣们可以放心外出，不用担心天气来调皮捣乱而影响了兴致。"},{"name":"雨伞指数","value":"不带伞","detail":"天气较好，您在出门的时候无须带雨伞。"}]}
   */

  private String city;
  private String updatetime;
  private String wendu;
  private String fengli;
  private String shidu;
  private String fengxiang;
  private String sunrise_1;
  private String sunset_1;
  private String sunrise_2;
  private String sunset_2;
  private EnvironmentBean environment;
  private YesterdayBean yesterday;
  private ForecastBean forecast;
  private ZhishusBean zhishus;

  public String getCity() {
    return city;
  }

  public void setCity(String city) {
    this.city = city;
  }

  public String getUpdatetime() {
    return updatetime;
  }

  public void setUpdatetime(String updatetime) {
    this.updatetime = updatetime;
  }

  public String getWendu() {
    return wendu;
  }

  public void setWendu(String wendu) {
    this.wendu = wendu;
  }

  public String getFengli() {
    return fengli;
  }

  public void setFengli(String fengli) {
    this.fengli = fengli;
  }

  public String getShidu() {
    return shidu;
  }

  public void setShidu(String shidu) {
    this.shidu = shidu;
  }

  public String getFengxiang() {
    return fengxiang;
  }

  public void setFengxiang(String fengxiang) {
    this.fengxiang = fengxiang;
  }

  public String getSunrise_1() {
    return sunrise_1;
  }

  public void setSunrise_1(String sunrise_1) {
    this.sunrise_1 = sunrise_1;
  }

  public String getSunset_1() {
    return sunset_1;
  }

  public void setSunset_1(String sunset_1) {
    this.sunset_1 = sunset_1;
  }

  public String getSunrise_2() {
    return sunrise_2;
  }

  public void setSunrise_2(String sunrise_2) {
    this.sunrise_2 = sunrise_2;
  }

  public String getSunset_2() {
    return sunset_2;
  }

  public void setSunset_2(String sunset_2) {
    this.sunset_2 = sunset_2;
  }

  public EnvironmentBean getEnvironment() {
    return environment;
  }

  public void setEnvironment(EnvironmentBean environment) {
    this.environment = environment;
  }

  public YesterdayBean getYesterday() {
    return yesterday;
  }

  public void setYesterday(YesterdayBean yesterday) {
    this.yesterday = yesterday;
  }

  public ForecastBean getForecast() {
    return forecast;
  }

  public void setForecast(ForecastBean forecast) {
    this.forecast = forecast;
  }

  public ZhishusBean getZhishus() {
    return zhishus;
  }

  public void setZhishus(ZhishusBean zhishus) {
    this.zhishus = zhishus;
  }

  public static class EnvironmentBean {
    /**
     * aqi : 56
     * pm25 : 32
     * suggest : 极少数敏感人群应减少户外活动
     * quality : 良
     * MajorPollutants : 颗粒物(PM10)
     * o3 : 36
     * co : 1
     * pm10 : 60
     * so2 : 16
     * no2 : 82
     * time : 20:00:00
     */

    private String aqi;
    private String pm25;
    private String suggest;
    private String quality;
    private String MajorPollutants;
    private String o3;
    private String co;
    private String pm10;
    private String so2;
    private String no2;
    private String time;

    public String getAqi() {
      return aqi;
    }

    public void setAqi(String aqi) {
      this.aqi = aqi;
    }

    public String getPm25() {
      return pm25;
    }

    public void setPm25(String pm25) {
      this.pm25 = pm25;
    }

    public String getSuggest() {
      return suggest;
    }

    public void setSuggest(String suggest) {
      this.suggest = suggest;
    }

    public String getQuality() {
      return quality;
    }

    public void setQuality(String quality) {
      this.quality = quality;
    }

    public String getMajorPollutants() {
      return MajorPollutants;
    }

    public void setMajorPollutants(String MajorPollutants) {
      this.MajorPollutants = MajorPollutants;
    }

    public String getO3() {
      return o3;
    }

    public void setO3(String o3) {
      this.o3 = o3;
    }

    public String getCo() {
      return co;
    }

    public void setCo(String co) {
      this.co = co;
    }

    public String getPm10() {
      return pm10;
    }

    public void setPm10(String pm10) {
      this.pm10 = pm10;
    }

    public String getSo2() {
      return so2;
    }

    public void setSo2(String so2) {
      this.so2 = so2;
    }

    public String getNo2() {
      return no2;
    }

    public void setNo2(String no2) {
      this.no2 = no2;
    }

    public String getTime() {
      return time;
    }

    public void setTime(String time) {
      this.time = time;
    }
  }

  public static class YesterdayBean {
    /**
     * date_1 : 19日星期二
     * high_1 : 高温 16℃
     * low_1 : 低温 8℃
     * day_1 : {"type_1":"晴","fx_1":"北风","fl_1":"4-5级"}
     * night_1 : {"type_1":"晴","fx_1":"北风","fl_1":"4-5级"}
     */

    private String date_1;
    private String high_1;
    private String low_1;
    private Day1Bean day_1;
    private Night1Bean night_1;

    public String getDate_1() {
      return date_1;
    }

    public void setDate_1(String date_1) {
      this.date_1 = date_1;
    }

    public String getHigh_1() {
      return high_1;
    }

    public void setHigh_1(String high_1) {
      this.high_1 = high_1;
    }

    public String getLow_1() {
      return low_1;
    }

    public void setLow_1(String low_1) {
      this.low_1 = low_1;
    }

    public Day1Bean getDay_1() {
      return day_1;
    }

    public void setDay_1(Day1Bean day_1) {
      this.day_1 = day_1;
    }

    public Night1Bean getNight_1() {
      return night_1;
    }

    public void setNight_1(Night1Bean night_1) {
      this.night_1 = night_1;
    }

    public static class Day1Bean {
      /**
       * type_1 : 晴
       * fx_1 : 北风
       * fl_1 : 4-5级
       */

      private String type_1;
      private String fx_1;
      private String fl_1;

      public String getType_1() {
        return type_1;
      }

      public void setType_1(String type_1) {
        this.type_1 = type_1;
      }

      public String getFx_1() {
        return fx_1;
      }

      public void setFx_1(String fx_1) {
        this.fx_1 = fx_1;
      }

      public String getFl_1() {
        return fl_1;
      }

      public void setFl_1(String fl_1) {
        this.fl_1 = fl_1;
      }
    }

    public static class Night1Bean {
      /**
       * type_1 : 晴
       * fx_1 : 北风
       * fl_1 : 4-5级
       */

      private String type_1;
      private String fx_1;
      private String fl_1;

      public String getType_1() {
        return type_1;
      }

      public void setType_1(String type_1) {
        this.type_1 = type_1;
      }

      public String getFx_1() {
        return fx_1;
      }

      public void setFx_1(String fx_1) {
        this.fx_1 = fx_1;
      }

      public String getFl_1() {
        return fl_1;
      }

      public void setFl_1(String fl_1) {
        this.fl_1 = fl_1;
      }
    }
  }

  public static class ForecastBean {
    private List<WeatherBean> weather;

    public List<WeatherBean> getWeather() {
      return weather;
    }

    public void setWeather(List<WeatherBean> weather) {
      this.weather = weather;
    }

    public static class WeatherBean {
      /**
       * date : 20日星期三
       * high : 高温 18℃
       * low : 低温 7℃
       * day : {"type":"晴","fengxiang":"北风","fengli":"3-4级"}
       * night : {"type":"晴","fengxiang":"无持续风向","fengli":"3-4级"}
       */

      private String date;
      private String high;
      private String low;
      private DayBean day;
      private NightBean night;

      public String getDate() {
        return date;
      }

      public void setDate(String date) {
        this.date = date;
      }

      public String getHigh() {
        return high;
      }

      public void setHigh(String high) {
        this.high = high;
      }

      public String getLow() {
        return low;
      }

      public void setLow(String low) {
        this.low = low;
      }

      public DayBean getDay() {
        return day;
      }

      public void setDay(DayBean day) {
        this.day = day;
      }

      public NightBean getNight() {
        return night;
      }

      public void setNight(NightBean night) {
        this.night = night;
      }

      public static class DayBean {
        /**
         * type : 晴
         * fengxiang : 北风
         * fengli : 3-4级
         */

        private String type;
        private String fengxiang;
        private String fengli;

        public String getType() {
          return type;
        }

        public void setType(String type) {
          this.type = type;
        }

        public String getFengxiang() {
          return fengxiang;
        }

        public void setFengxiang(String fengxiang) {
          this.fengxiang = fengxiang;
        }

        public String getFengli() {
          return fengli;
        }

        public void setFengli(String fengli) {
          this.fengli = fengli;
        }
      }

      public static class NightBean {
        /**
         * type : 晴
         * fengxiang : 无持续风向
         * fengli : 3-4级
         */

        private String type;
        private String fengxiang;
        private String fengli;

        public String getType() {
          return type;
        }

        public void setType(String type) {
          this.type = type;
        }

        public String getFengxiang() {
          return fengxiang;
        }

        public void setFengxiang(String fengxiang) {
          this.fengxiang = fengxiang;
        }

        public String getFengli() {
          return fengli;
        }

        public void setFengli(String fengli) {
          this.fengli = fengli;
        }
      }
    }
  }

  public static class ZhishusBean {
    private List<ZhishuBean> zhishu;

    public List<ZhishuBean> getZhishu() {
      return zhishu;
    }

    public void setZhishu(List<ZhishuBean> zhishu) {
      this.zhishu = zhishu;
    }

    public static class ZhishuBean {
      /**
       * name : 晨练指数
       * value : 较不宜
       * detail : 较不宜晨练，早晨天气凉，室外锻炼注意保暖防寒。年老体弱人群请减少晨练时间。
       */

      private String name;
      private String value;
      private String detail;

      public String getName() {
        return name;
      }

      public void setName(String name) {
        this.name = name;
      }

      public String getValue() {
        return value;
      }

      public void setValue(String value) {
        this.value = value;
      }

      public String getDetail() {
        return detail;
      }

      public void setDetail(String detail) {
        this.detail = detail;
      }
    }
  }
}
